-- GENERATED SPELL FOR [Huntress Skymane] --


function spell0_14378(pUnit, Event) --@Hooked Net,n/a--
pUnit:FullCastSpellOnTarget(14030,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_14378', 6500, 1)
end

function spell1_14378(pUnit, Event) --@Sunder Armor,n/a--
pUnit:FullCastSpellOnTarget(15572,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_14378', 30310, 1)
end

function Sorts_14378(pUnit, Event)
local choix_sorts_14378 = math.random(0, 1)
if choix_sorts_14378 == 0 then
pUnit:RegisterEvent('spell0_14378', 1, 1)
end
if choix_sorts_14378 == 1 then
pUnit:RegisterEvent('spell1_14378', 1, 1)
end
end

function mob14378_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_14378', math.random(1500, 3000), 1)
end

function mob14378_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14378_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14378_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(14378, 1, 'mob14378_Action')
RegisterUnitEvent(14378, 2, 'mob14378_Leave')
RegisterUnitEvent(14378, 3, 'mob14378_Kill')
RegisterUnitEvent(14378, 4, 'mob14378_Die')
